
<?php foreach ($aryProductType as $key => $value) {
 ?>
<?php if (isset($aryProductByType[$key][0])) { ?>
        <div id="pr-lt-bestseller">
            <div class='pr-lt-bs-title'>
                <span><a href="<?php echo $root_page ?>/productInfo/<?php echo $key; ?>/<?php echo $categoryId; ?>/" title="<?php echo $value; ?>"><?php echo $value; ?></a></span>
            </div>
            <ul class='pr-lt-bs-content'>
<?php foreach ($aryProductByType[$key] as $key2 => $product) { ?>
            <li>
                <div class='pr-lt-bs-ct-img'>
                    <a href="<?php echo $root_page ?>/sanpham/<?php echo $product['product_id']; ?>/<?php echo $product['product_title_filter']; ?>.html" title="<?php echo $product['product_title']; ?>">
                        <img src="<?php echo $root_page . $product['product_small_image']; ?>">
                    </a>
                </div>
                <div class='pr-lt-bs-ct-summary'>
                    <a href="<?php echo $root_page ?>/sanpham/<?php echo $product['product_id']; ?>/<?php echo $product['product_title_filter']; ?>.html" title="<?php echo $product['product_title']; ?>"><?php echo $product['product_title']; ?></a>
                    <span class='pr-lt-bs-ct-price'><?php echo ($product['product_price_vnd'] != 0) ? number_format($product['product_price_vnd'], 0, ',', '.') . '&nbsp;VNĐ' : 'Call'; ?></span>
                </div>
            </li>
<?php } ?>
        <li class="last"><a href="<?php echo $root_page ?>/productInfo/<?php echo $key; ?>/<?php echo $categoryId; ?>/" title="<?php echo $value; ?>">.:Xem thêm:.</a></li>
    </ul>
    <div class="clear"></div>
</div>
<?php } ?>
<div class="clear" style="height: 5px;"></div>
<?php } ?>
